Skip to content

ci: Remediate Node.js 20 deprecation in GitHub Actions workflows#325

Merged
mroman-recurly merged 3 commits into
v3-v2021-02-25from
jparrabedoya/SWI-5336
Jun 2, 2026
Merged

ci: Remediate Node.js 20 deprecation in GitHub Actions workflows#325
mroman-recurly merged 3 commits into
v3-v2021-02-25from
jparrabedoya/SWI-5336

Conversation

@jparrabedoya
Copy link
Copy Markdown
Contributor

@jparrabedoya jparrabedoya commented Jun 2, 2026

Description

Problem

GitHub Actions is deprecating Node.js 20. Actions using Node.js 20 (or older) will be forced to Node.js 24 starting June 2, 2026, and will be fully removed from runners on September 16, 2026. The workflows in this repo referenced actions/checkout@v3 and actions/setup-java@v3, both of which use Node.js 16.

Fix

Upgraded all affected actions to their latest Node.js 24-native versions (runtime verified via action.yml before applying):

  • actions/checkout@v3 (node16) → actions/checkout@v6.0.3 (node24)
  • actions/setup-java@v3 (node16) → actions/setup-java@v5.2.0 (node24)

Added FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true at the workflow level to validate Node.js 24 execution in CI. This flag will be removed before merge.

The r7kamura/semgrepper@v0 (docker) and docker://agilepathway/pull-request-label-checker:latest (docker) actions are not affected by this deprecation.

Files Changed

  • .github/workflows/ci.ymlcheckout@v3v6.0.3, setup-java@v3v5.2.0; added FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
  • .github/workflows/semgrep.ymlcheckout@v3v6.0.3; added FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true

Testing

CI runs with FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true active — all Java matrix tests (8, 11, 16, 17), CodeQL, and Semgrep passed.

jparrabedoya and others added 2 commits June 2, 2026 09:56
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@jparrabedoya jparrabedoya added the V5 v2021-02-25 Client label Jun 2, 2026
@jparrabedoya jparrabedoya self-assigned this Jun 2, 2026
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@mroman-recurly mroman-recurly merged commit 7a81328 into v3-v2021-02-25 Jun 2, 2026
10 checks passed
@mroman-recurly mroman-recurly deleted the jparrabedoya/SWI-5336 branch June 2, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

V5 v2021-02-25 Client

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants